//Complex.h
#ifndef COMPLEX_H_
#define COMPLEX_H_
#include <iostream>
using namespace std;
class Complex {
private:
    double real;
    double imag;
public:
    Complex(double re = 0, double im = 0);
    Complex();
    Complex(const Complex& c);
    ~Complex();

    friend Complex operator+(const Complex c1, const Complex c2);
    friend Complex operator-(const Complex c1, const Complex c2);
    friend Complex operator*(const Complex c1, const Complex c2);
    friend Complex operator/(const Complex c1, const Complex c2);
    Complex& operator=(const Complex c);

    friend ostream& operator<<(ostream& out, const Complex& c);
};
#endif